package com.ytktt.study.week9.task3.rpcfx.properties;

import com.ytktt.study.week9.task3.rpcfx.enums.LoadBalancerType;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 负载均衡属性配置
 *
 * @author ytk
 */
@Getter
@Setter
@ConfigurationProperties(prefix = LoadBalancerProperties.PREFIX)
public class LoadBalancerProperties {

    public static final String PREFIX = "rpcfx.lb";

    private LoadBalancerType type = LoadBalancerType.RANDOM;
}
